package com.hckjsec.cloud.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hckjsec.cloud.mapper.AppletsBusinessVideoSigncoorMapper;
import com.hckjsec.cloud.domain.AppletsBusinessVideoSigncoor;
import com.hckjsec.cloud.service.IAppletsBusinessVideoSigncoorService;

/**
 * 申办信息视频文书坐标Service业务层处理
 * 
 * @author cyt
 * @date 2021-08-27
 */
@Service
public class AppletsBusinessVideoSigncoorServiceImpl implements IAppletsBusinessVideoSigncoorService 
{
    @Autowired
    private AppletsBusinessVideoSigncoorMapper appletsBusinessVideoSigncoorMapper;

    /**
     * 查询申办信息视频文书坐标
     * 
     * @param id 申办信息视频文书坐标ID
     * @return 申办信息视频文书坐标
     */
    @Override
    public AppletsBusinessVideoSigncoor selectAppletsBusinessVideoSigncoorById(Long id)
    {
        return appletsBusinessVideoSigncoorMapper.selectAppletsBusinessVideoSigncoorById(id);
    }

    /**
     * 查询申办信息视频文书坐标列表
     * 
     * @param appletsBusinessVideoSigncoor 申办信息视频文书坐标
     * @return 申办信息视频文书坐标
     */
    @Override
    public List<AppletsBusinessVideoSigncoor> selectAppletsBusinessVideoSigncoorList(AppletsBusinessVideoSigncoor appletsBusinessVideoSigncoor)
    {
        return appletsBusinessVideoSigncoorMapper.selectAppletsBusinessVideoSigncoorList(appletsBusinessVideoSigncoor);
    }

    /**
     * 新增申办信息视频文书坐标
     * 
     * @param appletsBusinessVideoSigncoor 申办信息视频文书坐标
     * @return 结果
     */
    @Override
    public int insertAppletsBusinessVideoSigncoor(AppletsBusinessVideoSigncoor appletsBusinessVideoSigncoor)
    {
        return appletsBusinessVideoSigncoorMapper.insertAppletsBusinessVideoSigncoor(appletsBusinessVideoSigncoor);
    }

    /**
     * 修改申办信息视频文书坐标
     * 
     * @param appletsBusinessVideoSigncoor 申办信息视频文书坐标
     * @return 结果
     */
    @Override
    public int updateAppletsBusinessVideoSigncoor(AppletsBusinessVideoSigncoor appletsBusinessVideoSigncoor)
    {
        return appletsBusinessVideoSigncoorMapper.updateAppletsBusinessVideoSigncoor(appletsBusinessVideoSigncoor);
    }

    /**
     * 批量删除申办信息视频文书坐标
     * 
     * @param ids 需要删除的申办信息视频文书坐标ID
     * @return 结果
     */
    @Override
    public int deleteAppletsBusinessVideoSigncoorByIds(Long[] ids)
    {
        return appletsBusinessVideoSigncoorMapper.deleteAppletsBusinessVideoSigncoorByIds(ids);
    }

    /**
     * 删除申办信息视频文书坐标信息
     * 
     * @param id 申办信息视频文书坐标ID
     * @return 结果
     */
    @Override
    public int deleteAppletsBusinessVideoSigncoorById(Long id)
    {
        return appletsBusinessVideoSigncoorMapper.deleteAppletsBusinessVideoSigncoorById(id);
    }

    /**
     * 删除申办信息视频文书坐标
     *
     * @param uuid 申办信息视频文书坐标uuid
     * @return 结果
     */
    @Override
    public int deleteAppletsBusinessVideoSigncoorByUuid(String uuid) {
        return appletsBusinessVideoSigncoorMapper.deleteAppletsBusinessVideoSigncoorByUuid(uuid);
    }
}
